package com.itheima_29;

public class SystemDemo {
    public static void main(String[] args) {
        System.out.println("开始");
//        System.exit(0);
        System.out.println("结束");

        System.out.println(System.currentTimeMillis() * 1.0 / 1000/ 60 / 60/ 24 / 365);

        long start = System.currentTimeMillis();
        for (int i = 0; i < 100000; i++) {
            System.out.println(i);
        }
        long end = System.currentTimeMillis();
        System.out.println("共耗时： " + (end - start));
    }
}
